package com.yuyou.fn.crm.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.common.util.Principals;
import com.yuyou.fn.crm.entity.Visit;
import com.yuyou.fn.crm.vo.VisitSaveVo;

import java.util.List;

/**
 *
 * Visit 表数据服务层接口
 *
 */
public interface IVisitService extends ISuperService<Visit,Long> {

    void saveVisit(VisitSaveVo saveVo, Principals.Principal principal);

    List<Visit> findVisitListByCustomerResourceId(Long customerResourceId);

    void  deleteByCustomerResourceIds(List<Long> customerResourceIds);
}